package com.cloudkinto.dto.stock.query;

import com.cloudkinto.vo.order.inbound.OrderInputListProductVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author long
 */
@Data
public class BoxTypeStockPageDto {
    List<OrderInputListProductVo> productList = new ArrayList<>();
    private String boxTypeNumber;
    private String customizeBarcode;
    @ApiModelProperty("公司id")
    private Long companyId;
    @ApiModelProperty("公司名称")
    private String companyName;
    @ApiModelProperty("公司编号")
    private String companyCode;
    @ApiModelProperty("仓库id")
    private Long whId;
    @ApiModelProperty("仓库代码")
    private String whCode;
    @ApiModelProperty("仓库名称")
    private String whNameCn;
    @ApiModelProperty("总库存数")
    private int totalAmount;
    @ApiModelProperty("总库存重量")
    private BigDecimal totalWeight;
    @ApiModelProperty("总库存体积")
    private BigDecimal totalVolume;
    @ApiModelProperty("可用库存数")
    private int availableAmount;
    @ApiModelProperty("可用库存重量")
    private BigDecimal availableWeight;
    @ApiModelProperty("可用库存体积")
    private BigDecimal availableVolume;
    @ApiModelProperty("锁定库存")
    private int lockAmount;
    @ApiModelProperty("锁定库存重量")
    private BigDecimal lockWeight;
    @ApiModelProperty("锁定库存体积")
    private BigDecimal lockVolume;
    @ApiModelProperty("在途")
    private int transportAmount;
    private BigDecimal length;
    private BigDecimal width;
    private BigDecimal height;
    private BigDecimal weight;
    private BigDecimal lengthBs;
    private BigDecimal widthBs;
    private BigDecimal heightBs;
    private BigDecimal weightBs;
    @ApiModelProperty("箱内产品数量")
    private Integer boxProductNum;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("库存属性 0正 1次")
    private Integer stockAttribute;

    @ApiModelProperty("库龄天数")
    private Integer ageDay;
}
